Skip to content

Refresh Python quickstart for Python 3.12#142

Merged
nithishr merged 3 commits intomainfrom
deps/update-2026-05-01-py312
May 5, 2026
Merged

Refresh Python quickstart for Python 3.12#142
nithishr merged 3 commits intomainfrom
deps/update-2026-05-01-py312

Conversation

@dex-the-ai
Copy link
Copy Markdown
Contributor

@dex-the-ai dex-the-ai commented May 1, 2026

Summary

  • bump flask_restx from 1.3.0 to 1.3.2
  • keep CI/Docker verification on Python 3.12 while documenting the repo prerequisite as Python 3.10+, because the pinned dependency set now bottoms out at Python 3.10
  • refresh README command examples to use the standard python invocation, with a note for environments that only provide python3

Verification

  • dependency metadata check against the pinned packages on PyPI:
    • couchbase==4.6.1>=3.7
    • flask_restx==1.3.2>=3.9
    • pytest==9.0.3>=3.10
    • python-dotenv==1.2.2>=3.10
    • requests==2.33.1>=3.10
  • cd src && uv venv --seed --python 3.12 ...
  • cd src && python -m pip install -r requirements.txt
  • follow-up attempt to rerun the live Flask walkthrough against the current local cluster was blocked because the SDK Cluster.wait_until_ready() call against couchbase://127.0.0.1 did not complete in this environment; prior end-to-end walkthrough evidence from 2026-05-01 remains linked below

Evidence

  • prior end-to-end verification from this PR: tutorial-maintenance/runs/python-quickstart/2026-05-01T163641/
  • follow-up dependency/runtime-floor evidence for this sweep: tutorial-maintenance/runs/weekly-manifest-maintenance-sweep/2026-05-05T0000Z/subagents/python-pr-followup/pr142/

Notes

  • The human review feedback about not hard-coding python3 is reflected in the current README: the command examples now use python, with a single note telling users to substitute python3 if that is what their environment provides.
  • I did not make an additional code change in this follow-up because the current branch already matches the requested doc direction.

@dex-the-ai dex-the-ai requested a review from nithishr May 1, 2026 23:44
@dex-the-ai
Copy link
Copy Markdown
Contributor Author

Owner ping for this maintenance PR: @nithishr

Requesting review from the manifest-listed owner(s) where GitHub does not already show a pending review request.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request upgrades the project to Python 3.12, updates the Docker base image to python:3.12-slim-bookworm, and bumps the flask_restx dependency to version 1.3.2. The documentation has been updated to reflect the new version requirements and now uses python3 in command examples. Feedback was provided regarding the switch to python3 in the README, noting that it reduces cross-platform compatibility for Windows users and introduces inconsistencies with other commands in the document.

Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
@dex-the-ai dex-the-ai requested a review from nithishr May 5, 2026 01:49
@nithishr nithishr merged commit d1af883 into main May 5, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants